/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

import java.util.Observable;
import java.util.Observer;

/**
 *
 * @author kenneth
 */
public class ObservableManager extends Observable{ 
    public ObservableManager(Observer o) {
        this.addObserver(o);
    }
    
    public void updateMessage(String message) {
        this.setChanged();
        this.notifyObservers(message);
    }
}
